#pragma once
#include "View.h"
#include <string>

class TextView : public View
{
public:
	TextView();
	virtual ~TextView();

	void SetText(const wchar_t *text, DWORD dwColor);
	void SetFont(const wchar_t *text, int nSize, int nWeight);

protected:
	void Render(HDC hdc, const RECT *lpRect);

private:
	HFONT m_hFont;
	std::wstring m_text;
	DWORD m_dwColor;
};